package com.dbz.service;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.dbz.entity.CustomerOrder;
import org.apache.ibatis.annotations.Param;

public interface CustomerOrderService {
    /**
     * 分页查询
     * @param page
     * @param queryMapper
     * @return
     */
    public IPage<CustomerOrder> selectPage(IPage<CustomerOrder> page, @Param(Constants.WRAPPER) Wrapper<CustomerOrder> queryMapper);
    /**
     * 删除信息
     * @param cid
     * @return
     */
    public int delecteCustomerOrder(String cid);

    /**
     * 添加订单信息
     * @param customerOrder
     * @return
     */
    public int insertCustomerOrder(CustomerOrder customerOrder);
}
